From 955dca950c7e32b1f141873662af5715cb7e33d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Wed, 14 Mar 2018 11:00:02 +0100 Subject: [PATCH] fixed: Remove snapshot implementation It does the same thing as the default implementation. --- gtk/gtkfixed.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index 355929ecc7..a54ee0e2d9 100644 --- a/gtk/gtkfixed.c +++ b/gtk/gtkfixed.c @@ -105,8 +105,6 @@ static void gtk_fixed_size_allocate (GtkWidget *widget, const GtkAllocation *allocation, int baseline, GtkAllocation *out_clip); -static void gtk_fixed_snapshot (GtkWidget *widget, - GtkSnapshot *snapshot); static void gtk_fixed_add (GtkContainer *container, GtkWidget *widget); static void gtk_fixed_remove (GtkContainer *container, @@ -140,7 +138,6 @@ gtk_fixed_class_init (GtkFixedClass *class) widget_class->measure = gtk_fixed_measure; widget_class->size_allocate = gtk_fixed_size_allocate; - widget_class->snapshot = gtk_fixed_snapshot; container_class->add = gtk_fixed_add; container_class->remove = gtk_fixed_remove; @@ -482,25 +479,3 @@ gtk_fixed_forall (GtkContainer *container, (* callback) (child->widget, callback_data); } } - -static void -gtk_fixed_snapshot (GtkWidget *widget, - GtkSnapshot *snapshot) -{ - GtkFixed *fixed = GTK_FIXED (widget); - GtkFixedPrivate *priv = fixed->priv; - GtkFixedChild *child; - GList *list; - - for (list = priv->children; - list; - list = list->next) - { - child = list->data; - - gtk_widget_snapshot_child (widget, - child->widget, - snapshot); - } -} - -- 2.30.2